package com.ciaojian.core.model.dy;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.util.Date;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2023-01-06
 */
@TableName("d_dy_goods")
@Data
public class DyGoods extends Model<DyGoods> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 抖音商品id
     */
    @TableField("dy_goods_id")
    private String dyGoodsId;

    /**
     * 商品标题
     */
    @TableField("goods_title")
    private String goodsTitle;

    /**
     * 对应券码
     */
    @TableField("coupon_id")
    private Integer couponId;

    /**
     * 添加时间
     */
    @TableField("add_time")
    private Date addTime;

    /**
     * 修改时间
     */
    @TableField("update_time")
    private Date updateTime;

    /**
     * 开售时间
     */
    @TableField("sold_start_time")
    private Date soldStartTime;

    /**
     * 停售时间
     */
    @TableField("sold_end_time")
    private Date soldEndTime;


    /**
     * 封面图
     */
    @TableField("picture")
    private String picture;

    /**
     * 价格
     */
    @TableField("amount")
    private Long amount;

    @TableField("status")
    private Integer status;


    @TableField("serve_notice")
    private String serveNotice;
}
